// 字体级别
$f6: 6px;
$f7: 7px;
$f8: 8px;
$f9: 9px;
$f10: 10px;
$f11: 11px;
$f12: 12px;
$f13: 13px;
$f14: 14px;
$f15: 15px;
$f16: 16px;
$f17: 17px;
$f18: 18px;
$f19: 19px;
$f20: 20px;
$f21: 21px;
$f22: 22px;
// 颜色
$c1: #467bd7;
$c2: #fdfdfd;
$c3: #000000;
$c4: #cccccc;
$c5: #ececec;
$c6: #ffffff;
$c7: #888686;
$c8: #bebebe;
$c9: #b8b8b8;
$c10: #f0f0f0;
$c11: #e1e1e1;
$c12: #999999;
$c13: #0d0d0d;
$sub: 48px;
.bar-stable {
    background-color: #378ffd !important;
}

ion-tabs.tabs-color-active-positive .tab-item {
    color: #b0b8c3;
}

ion-tabs.tabs-color-active-positive .tab-item.tab-item-active,
ion-tabs.tabs-color-active-positive .tab-item.active,
ion-tabs.tabs-color-active-positive .tab-item.activated {
    color: #378ffd;
}

.tab-item .icon {
    margin-top: 13px !important;
    font-size: 25px !important;
}

.button.disabled,
.button[disabled] {
    color: #b0b8c3 !important;
}

.slidingTabs {
    ul {
        li {
            color: #999999 !important;
        }
    }
}

.title {
    padding: 0px 16px 0px 16px;
    margin-bottom: 5px;
    margin-top: 10px;
    height: 20px;
    h4 {
        font-size: $f13;
        width: 140px;
        float: left;
        color: #5b5858;
        margin: 3px 0px 0px 0px;
    }
    .buttons {
        float: right;
        .button {
            float: left;
            min-height: 20px;
            line-height: 20px;
            font-size: $f10;
            padding: 0px 10px;
            background-color: #fff;
            border: none;
            &.activeted {
                color: $c6;
                border-radius: $f15;
                background: #37bbff !important;
            }
        }
    }
}

.home {
    .slidingTabs {
        ul {
            background-color: $c2 !important;
            li {
                color: $c4;
                &.tab-active {
                    color: $c3;
                }
            }
        }
    }
    // 综合绩效
    .label1 {
        background-color: $c5;
        .img {
            position: relative;
            img {
                width: 100%;
                max-height: 200px;
            }
            ul {
                position: absolute;
                bottom: 35px;
                left: 0px;
                width: 100%;
                li {
                    float: left;
                    width: 50%;
                    padding-left: 20px;
                    min-height: 40px;
                    color: $c6;
                    h4 {
                        margin: 0px;
                        font-size: $f16;
                        color: $c6;
                        font-weight: bold;
                    }
                    span {
                        font-size: $f11;
                        font-weight: normal;
                    }
                    &:first-child {
                        padding-left: 0px;
                        padding-right: 20px;
                        border-right: 1px solid $c6;
                        text-align: right;
                    }
                }
            }
        }
        .l1 {
            ul {
                margin-top: -5px;
                .rate {
                    background-color: $c6;
                    padding: 5px 10px 0px 10px;
                    // margin-bottom: 10px;
                    li {
                        display: block;
                        &:first-child {
                            height: 30px;
                            line-height: 30px;
                            border-bottom: 1px solid $c10;
                            margin-bottom: 5px;
                            h4 {
                                width: 150px;
                                margin: 5px 0px 0px 0px;
                                float: left;
                                color: $c7;
                                font-size: $f15;
                            }
                            span {
                                float: right;
                                font-size: $f10;
                                color: $c8;
                            }
                        }
                        &:last-child {
                            position: relative;
                            min-height: 80px;
                            // padding-top: 10px;
                            .progress {
                                position: absolute;
                                // width: 25%;
                                width: 100px;
                                height: 100%;
                                left: 0px;
                                top: 0px;
                            }
                            .desc {
                                padding-left: 110px;
                                width: 75%;
                                p {
                                    margin-bottom: 0px;
                                    color: $c9;
                                }
                                .pro {
                                    border-radius: 5px;
                                    width: 80px;
                                    height: 8px;
                                    margin-bottom: 10px;
                                    background-color: #bac2d2;
                                    &.pro2 {
                                        background-color: #467bd7;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    // 综合比较
    .label2 {}
    // 成员贡献
    .label3 {
        background-color: $c6;
    }
    // 销量趋势
    .label4 {}
}

.ranking {
    .nav {
        padding: 0px 16px;
        cursor: pointer;
        // font-weight: bold;
        height: $sub;
        color: $c13;
        font-size: $f16;
        line-height: $sub;
        i.icon {
            float: right;
            color: $c11;
            font-size: 16px;
        }
    }
    .top10 {
        width: 100%;
        max-height: 80px;
    }
    .top {
        width: 100%;
        margin-bottom: 20px;
        .th {
            width: 20%;
            display: inline-block;
            text-align: center;
            img {
                width: 15px;
                height: 15px;
                position: relative;
                top: 2px;
            }
        }
        span.top3 {
            position: relative;
            z-index: 5;
            display: inline-block;
            &.bg {
                color: #ffdd1a;
                z-index: 1;
                font-size: 35px;
                top: 10px;
                &.t2 {
                    color: #c1c7cf;
                }
                &.t3 {
                    color: #c89d60;
                }
                &:before {
                    content: "\e901";
                    font-family: 'icomoon' !important;
                    speak: none;
                    font-style: normal;
                    font-weight: normal;
                    font-variant: normal;
                    text-transform: none;
                    line-height: 1;
                    position: relative;
                    left: 1px;
                    -webkit-font-smoothing: antialiased;
                    -moz-osx-font-smoothing: grayscale;
                }
                .d {
                    position: absolute;
                    left: 14px;
                    color: #fff;
                    z-index: 5;
                    top: -4px;
                    font-size: 15px;
                }
            }
        }
    }
}

.mine {
    text-align: center;
    .img {
        width: 50%;
        margin: 5px auto;
        height: 20px;
    }
    table {
        width: 100%;
        border: 1px;
        border-color: red;
        text-align: center;
        font-size: 12px;
        // margin-left: 5%;
        // margin-right: 5%;
        frame: below;
        rules: rows;
        border-collapse: collapse;
        th {
            font-weight: bold;
            color: #666666;
        }
        tr {
            height: 28px;
            line-height: 28px;
            td {
                span {
                    top: 2px;
                    position: relative;
                    display: inline-block;
                    width: 12px;
                    height: 12px;
                    margin-right: 3px;
                }
                color: #5b5858;
            }
        }
        &:first-child {
            background-color: #f8f8f8;
            th,
            tr {
                border-bottom: 1px solid #ececec;
            }
            tr {
                td {
                    height: 35px;
                    line-height: 35px;
                }
            }
            th,
            td {
                width: 25% !important;
            }
        }
        &:last-child {
            th,
            td {
                width: 33.33%;
            }
            // tr {
            //     td, th {
            //         &:first-child {
            //             text-align: right;
            //         }
            //         &:last-child {
            //             text-align: left;
            //         }
            //     }
            // }
        }
    }
}

// 时间选择
.time-select {
    text-align: center;
    height: $sub;
    line-height: $sub;
    background-color: #ececec;
    span {
        font-size: $f16;
        color: $c13;
    }
    .button {
        min-height: $sub;
        line-height: $sub;
        color: #4378da;
        width: 50px;
        &:before {
            line-height: $sub !important;
            font-size: 25px;
        }
    }
}

// 弹出框 两级
.doctorRegistered {
    max-height: 50% !important;
    top: 0px !important;
    background-color: rgba(255, 255, 255, 1);
    .checkout {
        background-color: white;
    }
}

.modal-backdrop {
    // max-height: 50%;
    position: absolute;
    top: 94px !important;
    background-color: rgba(0, 0, 0, 0.4);
}
